-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/refactor zboxcore mobilesdk fixes #1633
base: sprint-1.19
Are you sure you want to change the base?
Fix/refactor zboxcore mobilesdk fixes #1633
Conversation
expose GetVersion method.
…fix/refactor-zboxcore-mobilesdk-fixes
…rders and blobbers. exposed Faucet method.
…fix/refactor-zboxcore-mobilesdk-fixes
…fix/refactor-zboxcore-mobilesdk-fixes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self review.
@@ -156,7 +156,7 @@ func makeSCRestAPICall(scAddress, relativePath, paramsJson string) (string, erro | |||
// - fee is the transaction fee | |||
// - desc is the description of the transaction | |||
func send(toClientID string, tokens uint64, fee uint64, desc string) (string, error) { | |||
_, _, _, txn, err := zcncore.Send(toClientID, tokens, desc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jayashsatolia403 @iamibadd custom fee passing here would be fine?
Since orignally it wasn't the caes but send method anyway has a fee parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can also pass 0 fee here as well if you pass 0 it'll estimate the fee automatically.
* sprint-1.19: Move zauth to core Fix sign auth
Changes
expose GetBlobbers method.
expose GetStorageConfig method.
expose GetVersion method.
expose ConvertToValue method.
exposed staking, unstaking and collect reward methods for miners, sharders and blobbers.
exposed Faucet method.
expose GetStakePoolUserInfo.
Fix
Setup auth
fix: fixed restriction setup
fix: fixed bugs
fix: fixed bugs
fix: fixed bugs
fix: fixed bugs
fix: fixed bugs
Fix
add docs for expose GetStakePoolUserInfo method.
expose VerifyTransaction method.
expose GetTransactions method in gosdk.
expose GetFeesTable method.
fix: error initializing sdk.
fix: GetTransactions method.
fix: init_node.go network initialization.
fix: sdk not initialized error for zboxcore methods.
refactor: add provider type field in StakePoolDelegatePoolInfo.
debug: mobile build flagsin mobilesdk/sdk.go.
debug: playground script.
refactor: combined blobber and miner/sharder user stake pool info.
go mod tidy
fix: add provider id in StakePoolDelegatePoolInfo.
expose: GetConfig method.
remove faucet method from mobilesdk.
fix: InitStorageSDK method error.
refactor: add custom fees to all of the mobilesdk methods for staking, unstaking and claim rewards.
refactor: add fees in sendZCN.
fix: wasmsdk send token to pass fee parameter.
expose: client.Sign
expose: sdk.GetClientEncryptedPublicKey
expose: CreateThumbnail method.
Fixes
Tests
Tasks to complete before merging PR:
Associated PRs (Link as appropriate):